<div class="sGrid_console_div"  id="${name}_sGrid_console_div"> 

	<div id='${name}_console_nodata'  class='console_data'  <#if totalRows gt 0>style='display:none;'</#if>></div>

	<div id='${name}_console_data' class='console_data' <#if  totalRows ==null || totalRows lte 0>style='display:none;'</#if>>
		<#if  consoleStyle=="button">

		     <#if  fenye!="false">
			<input id="${name}_consoleButton_first" type='button' class="sGrid_console_item_button" value='首页' disabled=""/>
			<input id="${name}_consoleButton_prev" type='button' class="sGrid_console_item_button" value='上一页' disabled=""/>
			<input id="${name}_consoleButton_next" type='button' class="sGrid_console_item_button" value='下一页'/>
			<input id="${name}_consoleButton_last" type='button' class="sGrid_console_item_button" value='末页'/>
			<input id="${name}_sGrid_console_page_lable" value="${pageNum}" autocomplete="off"  class="sGrid_console_target_input" rule="numberInt_must_contrast;>=1;<=99999" error="请输入一个大于0的整数" />
			<label class="sGrid_console_text_lable">/</label>
			<label id="${name}_sGrid_console_totalPage_lable" class="sGrid_console_text_lable">${totalPage}</label>
			<label class="sGrid_console_text_lable">页</label>

			<label class="sGrid_console_text_lable">每页</label>
			<label id="${name}_sGrid_console_rows_lable" class="sGrid_console_text_lable">${rows}</label>
			<label class="sGrid_console_text_lable">条</label>
		     </#if>

			<label class="sGrid_console_text_lable">共</label>
			<label id="${name}_sGrid_console_totalRows_lable" class="sGrid_console_text_lable">${totalRows}</label>
			<label class="sGrid_console_text_lable">条</label>

		
		<#else>
		    <#if  fenye!="false">
			<input id="${name}_consoleButton_first" type='button' class="sGrid_console_item_button_first" fenye="true"/>
			<input id="${name}_consoleButton_prev" type='button' class="sGrid_console_item_button_prev" fenye="true"/>
			<label class="sGrid_console_text_lable sGrid_console_text_lable_di">第</label>
			<input id="${name}_sGrid_console_page_lable" autocomplete="off"  value='${pageNum}' class="sGrid_console_target_input" rule="numberInt_must_contrast;>=1;<=99999" error="请输入一个大于0的整数" fenye="true" name="jg_sGrid_console_target_input"/>
			<label class="sGrid_console_text_lable">页/共</label>
			<label id="${name}_sGrid_console_totalPage_lable" class="sGrid_console_text_lable">${totalPage}</label>
			<label class="sGrid_console_text_lable sGrid_console_text_lable_ye">页</label>
			<input id="${name}_consoleButton_next" type='button' class="sGrid_console_item_button_next" fenye="true"/>
			<input id="${name}_consoleButton_last" type='button' class="sGrid_console_item_button_last" fenye="true"/>
			<label class="sGrid_console_text_lable sGrid_console_text_lable_mei">每页</label>
			<label id="${name}_sGrid_console_rows_lable"  class="sGrid_console_text_lable" >${rows}</label>
			<label class="sGrid_console_text_lable sGrid_console_text_lable_tiao">条</label>
		      </#if>

			<label class="sGrid_console_text_lable">共</label>
			<label id="${name}_sGrid_console_totalRows_lable"  class="sGrid_console_text_lable">${totalRows}</label>
			<label class="sGrid_console_text_lable sGrid_console_text_lable_lu">条</label>


		</#if>

	</div>


	<#list consoleItems as cItem>
		<input type="button" class="sGrid_console_item_button" console="${cItem.console}" eventDele="console" value="${cItem.caption}" id="${name}_${cItem.name}" name="${cItem.name}">
	</#list>

</div>

